<?



$d5 = "50000";
$d6 = "(80/100)";
$d7 = "(12.50/100)";
$d8 = "(3/100)";
$d9 = "(7/100)";

$d10 = "2";
$d11 = "12";
$d12 = "10";

$valor1 = $d5;
$valor2 = $d5*(7/100);
$valor3 = "0";
$valor4 = $valor1+$valor2+$valor3;
$valor5 = "6183.74";
$valor6 = $valor5*(3/100);
$valor6 = substr($valor6,0,5);
$valor7 = $valor5-$valor6;
$valor8 = $valor7*$d11;
$valor9 = $valor8-$valor4;
$valor10 = $valor9*(12.5/100);
$valor11 = ((($valor9-$valor10)*100/$valor1)/$d11);
$valor11 = substr($valor11,0,4);
$valor12 = $valor11*$d11;


?>

<table cellspacing = "0" cellpadding = "0" border = "1" align = "center">
<tr bgcolor = "black" valign = "top">
<td align = "center"><font color = "white"><b>CAPITAL</td>
<td align = "center"><font color = "white"><b>COM. <BR>COMER.</td>
<td align = "center"><font color = "white"><b>SEGURO</td>
<td align = "center"><font color = "white"><b>TOTAL <BR>INVERSION</td>
<td align = "center"><font color = "white"><b>CUOTA</td>
<td align = "center"><font color = "white"><b>COSTO <BR>MUTUAL</td>
<td align = "center"><font color = "white"><b>TOTAL <BR>COBRADO</td>
<td align = "center"><font color = "white"><b>TOTAL <BR>COBRADO</td>
<td align = "center"><font color = "white"><b>INTERES <BR>FINAL</td>
<td align = "center"><font color = "white"><b>COMISION <BR>ADM</td>
<td align = "center"><font color = "white"><b>% MENSUAL</td>
<td align = "center"><font color = "white"><b>% DE <BR>RESULTADO</td>
</tr>

<tr>
<td>$<?echo $valor1;?></td>
<td>$<?echo $valor2;?></td>
<td>$<?echo $valor3;?></td>
<td>$<?echo $valor4;?></td>
<td>$<?echo $valor5;?></td>
<td>$<?echo $valor6;?></td>
<td>$<?echo $valor7;?></td>
<td>$<?echo $valor8;?></td>
<td>$<?echo $valor9;?></td>
<td>$<?echo $valor10;?></td>
<td>%<?echo $valor11;?></td>
<td>%<?echo $valor12;?></td>
</tr>